<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/jeDate/jedate.css" rel="stylesheet"/>
    <link href="/module/select2-4.0/css/select2.css" rel="stylesheet"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="col-md-2 col-sm-2 col-xs-12" style="padding: 0px;">
                    <div class="widget flat radius-bordered">
                        <div class="widget-header bg-lightred">
                            <span class="widget-caption">党组织机构</span>
                        </div>
                        <div class="widget-body">
                            <ul id="tree" class="ztree"></ul>
                            <a id="cbut" href="javascript:void(0);" class="btn btn-purple" style="width: 100%;">创建党组织</a>
                        </div>
                    </div>
                </div>
                <div class="col-md-10 col-sm-10 col-xs-12" style="padding: 0px">
                    <div class="widget">
                        <div class="widget-header bordered-bottom bordered-palegreen">
                            <span class="widget-caption">党组织信息</span>
                        </div>
                        <div class="widget-body">
                            <form class="form-horizontal" id="form">
                                <table class="table table-hover table-striped table-bordered">
                                    <tr>
                                        <td width="20%">${i18n('system.sortNo')}：</td>
                                        <td width="30%"><input placeholder="${i18n('system.sortNo')}" type="number" name="sortNo" id="sortNo" class="form-control" maxlength="10"></td>
                                        <td width="20%">中组部标准编码：</td>
                                        <td width="30%"><input placeholder="中组部标准编码" type="text" name="orgCodeNo" id="orgCodeNo" class="form-control" maxlength="50"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">党组织全称：</td>
                                        <td width="30%"><input placeholder="党组织全称" type="text" name="partyOrgName" id="partyOrgName" class="form-control" maxlength="100"></td>
                                        <td width="20%">党组织简称：</td>
                                        <td width="30%"><input placeholder="党组织简称" type="text" name="shortName" id="shortName" class="form-control" maxlength="50"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">组织类型：</td>
                                        <td width="30%">
                                            <select class="form-control" name="orgType" id="orgType">
                                                <option value="1">党委</option>
                                                <option value="2">党总支</option>
                                                <option value="3">支部</option>
                                            </select>
                                        </td>
                                        <td width="20%">是否为独立组织：</td>
                                        <td width="30%">
                                            <select class="form-control" name="isOnly" id="isOnly">
                                                <option value="1">是</option>
                                                <option value="0">否</option>
                                            </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">党组织书记：</td>
                                        <td width="30%"><input placeholder="党组织书记" type="text" name="secretary" id="secretary" class="form-control" maxlength="50"></td>
                                        <td width="20%">上级党组织：</td>
                                        <td width="30%">
                                            <input type="text" class="form-control" id="levelId" name="levelId" placeholder="请选择上级党组织" readonly="readonly">
                                            <div id="menuContent" class="menuContent">
                                                <ul id="menuTree" class="ztree"></ul>
                                            </div>
                                        </td>

                                    </tr>
                                    <tr>
                                        <td width="20%">党组织联系人：</td>
                                        <td width="30%"><input placeholder="党组织联系人" type="text" name="linkMan" id="linkMan" class="form-control" maxlength="50"></td>
                                        <td width="20%">联系电话：</td>
                                        <td width="30%"><input placeholder="联系电话" type="text" name="linkTel" id="linkTel" class="form-control" maxlength="20"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">组织类别：</td>
                                        <td width="30%">
                                            <input placeholder="请选择组织类别" type="text" name="partyType" id="partyType" class="form-control" readonly="readonly">
                                            <div id="partyTypeContent" class="menuContent">
                                                <ul id="partyTypeTree" class="ztree"></ul>
                                            </div>
                                        </td>
                                        <td width="20%">党组织隶属关系：</td>
                                        <td width="30%">
                                            <input placeholder="党组织隶属关系" type="text" name="subordination" id="subordination" class="form-control" readonly="readonly">
                                            <div id="subordinationContent" class="menuContent">
                                                <ul id="subordinationTree" class="ztree"></ul>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">党组织工作分类：</td>
                                        <td width="30%">
                                            <input placeholder="党组织工作分类" type="text" name="workType" id="workType" class="form-control" readonly="readonly">
                                            <div id="workTypeContent" class="menuContent">
                                                <ul id="workTypeTree" class="ztree"></ul>
                                            </div>
                                        </td>
                                        <td width="20%">党组织所在单位情况：</td>
                                        <td width="30%"><select name="inUnit" id="inUnit" class="form-control">
                                            <option value="1">与上级党组织相同</option>
                                            <option value="2">法人单位</option>
                                            <option value="3">联合支部</option>
                                        </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">批准建立给织日期：</td>
                                        <td width="30%"><input placeholder="批准建立给织日期" type="text" name="buildTime" id="buildTime" class="form-control" maxlength="20" readonly="readonly"></td>
                                        <td width="20%">批准建立党组织文号：</td>
                                        <td width="30%"><input placeholder="批准建立党组织文号" type="text" name="docNum" id="docNum" class="form-control" maxlength="20"></td>
                                    </tr>
                                    <tr>
                                        <td width="20%">党组织联络地址：</td>
                                        <td width="30">
                                            <input placeholder="党组织联络地址" type="text" name="address" id="address" class="form-control" maxlength="100">
                                        </td>
                                        <td width="20%">党组织所在单位：</td>
                                        <td width="30">
                                            <select name="unitId" id="unitId" style="width:100%" multiple="multiple">
                                            </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td width="20%">${i18n('attach')}：</td>
                                        <td width="80%" colspan="3">
                                            <div id="show_attach"></div>
                                            <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file" onchange="fileUpLoad('party','attach');" hidefocus="true"
                                                                                                                      maxlength="1" id="attach" name="attach" class="addfile" multiple="multiple"></a> <a class="addfile" style="width: 200px;" href="#" op_id="attach"
                                                                                                                                                                                                          onclick="selectattach(this,'true')">${i18n('system.netFileSelect')}</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">党组织摘要</td>
                                    </tr>
                                    <tr>
                                        <td colspan="4">
                                            <div id="remark" name="remark"></div>
                                        </td>
                                    </tr>
                                </table>
                                <table class="table table-hover table-striped table-bordered">
                                    <tr>
                                        <td colspan="4" align="center">
                                            <a id="createbut" href="javascript:void(0);" class="btn btn-primary">${i18n('system.create')}</a>
                                            <a style="display: none;" id="updatabut" href="javascript:void(0);" class="btn btn-maroon">更&nbsp;&nbsp;改</a>
                                            <a style="display: none;" id="delbut" href="javascript:void(0);" class="btn btn-danger shiny">删&nbsp;&nbsp;除</a>
                                        </td>
                                    </tr>
                                </table>
                            </form>
                        </div>
                    </div>
                </div>


            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/fileupload/pageoffice.js" id="po_js_main"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/assets/js/editors/summernote/summernote.js"></script>
<script type="text/javascript" src="/module/select2-4.0/js/select2.js"></script>
<script type="text/javascript" src="/module/select2-4.0/js/i18n/zh-CN.js"></script>
<script type="text/javascript" src="/gobal/js/page/partyorg/partyorg.js"></script>
</body>
</html>
